<template>
  <div id="app">
    <transition name="Router-active">
      <router-view />
    </transition>
    <!-- loading -->
    <Loading />
  </div>
</template>

<script>
import { mapActions } from "vuex";
import Loading from "./components/common/loading/Loading";
export default {
  name: "app",
  components: {
    Loading
  },
  methods: {
    ...mapActions(["getGeoPosition"]),
  },
  created() {
    this.getGeoPosition();
  },
};
</script>

<style>
@import url("./assets/style/base.css");
@import url("./assets/style/main.css");
#app {
  width: 100%;
  height: auto;
}

</style>
